package cn.js.ccit.flowersmall.product.mapper;


import cn.js.ccit.flowersmall.product.entity.ProductEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductMapper {
    //@Select("select * from product")
    List<ProductEntity> findProducts();

    //@Select("select * from product where id= #{id}")
    ProductEntity getProductById(@Param(value = "id") Long id);
}
